#!/bin/bash

#Clean
./clean_deb.sh

#Prepare
mkdir -p miptraph/usr/include/
chmod -R 0755 miptgraph/DEBIAN
cp -r ../../include/* miptgraph/usr/include/

#Packaging
dpkg-deb --build miptgraph

#Rename
mv miptgraph.deb miptgraph_$VERSION-$RELEASE.deb